package com.ws.lv.bean;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Route {
    private Integer route_id;//线路主键
    private String route_name;//线路名称
    private Integer route_typeId;//所属分类
    private String route_departure_place;//出发地
    private String route_destination;//目的地
    private Integer route_is_theme;//是否主题线路
    private Double route_price;//线路价格
    private Integer route_day;//线路天数
    private Integer route_saveNumber;//收藏数量
    private String route_content;//线路内容
    private Integer route_supplierId;//供应商id
    private Integer route_themeId;//主题id
    private Integer routh_is_slideshow;//是否轮播图
    private Integer routh_is_deleted;//逻辑删除

    //后加
    private String routh_mainImage;//主图

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date routh_create_time;//创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date routh_update_time;//修改时间

    //分类
    private Type type;
    //供应商
    private Supplier supplier;
    //主题
    private Theme theme;






}
